package lab02.test06;

public class Circle {
    final double PI = 3.1415926;
    private double radius;
    private double perimeter;
    private double area;

    Circle(){}

    Circle(double radius,double perimeterd,double area){
        this.radius = radius;
        this.perimeter = perimeterd;
        this.area = area;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public double getRadius() {
        return radius;
    }

    public void setPerimeter(double perimeter) {
        this.perimeter = perimeter;
    }

    public double getPerimeter(double radius) {
        perimeter = 2*PI*radius;
        return perimeter;
    }

    public void setArea(double area) {
        this.area = area;
    }

    public double getArea(double radius) {
        area = PI*radius*radius;
        return area;
    }
}
